home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / BPNN132U.ARJ / DEMO1TRN.RSP < prev    next >
Text File  |  1992-04-27  |  1KB  |  59 lines

  1.  
  2. //
  3. //    file:    demo1trn.rsp
  4. //    desc:    demo1 training response file
  5. //    by:    patrick ko shu pui
  6. //    date:    27 apr 1992
  7. //
  8. //    comments:
  9. //
  10. //    This resp file is used to train a 1 hidden layer neural net to
  11. //    learn an XOR function.  The NN has a 2-unit input, a 1-unit 
  12. //    output, and a 2-unit hidden layer.
  13. //
  14. //    The result file is contained in demo1.out where you may view
  15. //    the output. If you output is close to 1 you may interpret it as
  16. //    a 1, and 0 if it is close to 0.
  17. //
  18.  
  19. // 2 input units
  20. -i=2
  21.  
  22. // 1 output units
  23. -o=1
  24.  
  25. // 1 hidden layer
  26. -hh=1
  27.  
  28. // 1st hidden layer = 2 units
  29. -h=2
  30.  
  31. // use demo1.trn as training file
  32. -ftrain=demo1.trn
  33.  
  34. // and there are 4 training patterns
  35. -samp=4
  36.  
  37. // report training status every 10 cycles
  38. -r=10
  39.  
  40. // time the training process
  41. -t
  42.  
  43. // initialize the random weight at the range of (-0.5 to +0.5)
  44. -w+=1.5
  45. -w-=0.5
  46.  
  47. // mean square per unit err = 0.001
  48. -err = 0.001
  49.  
  50. // tolerance = 0.01
  51. -torerr=0.01
  52.  
  53. //
  54. // the above response file is equivalent to the following command line
  55. //
  56. // bptrain -i=2 -o=1 -hh=1 -h=2 -ftrain=demo1.trn -samp=4 -r=10 -t -w+=0.5 -w-=-0.5
  57. //         -torerr=0.01
  58. //
  59.